{include file="public/head"}
    <body>
    <div class="x-body">
        <div  class="lotus-nav" >
            <button class="layui-btn  layui-btn-sm"></button>

            <span class="x-right"><button onclick="javascript:location.reload()" class="layui-btn-default "><i class="layui-icon layui-icon-refresh"></i></button></span>

        </div>

    <table class="layui-table">
        <thead>
          <tr>
            <th>ID</th>
            <th>类型</th>
            <th>名称</th>
            <th>图片</th>
            <th>链接</th>
            <th>点击次数</th>
        </thead>
        <tbody>

        {volist name="data" id="vo"}
        	<tr>
	            <td>{$vo.id}</td>
	            <td>{switch($vo.type)}{case 1}背景图{/case}{case 2}管家电话{/case}{case 3}在线客服{/case}{case 5}顶部轮播图{/case}{default/}底部模块{/switch}</td>
	            <td>{$vo.title}</td>
                <td>
                    <img src="{$vo.image|imgadd}" style="height:60px">
                </td>
	            <td>{$vo.link}</td>
	            <td>
	                {$vo.hits}
	           </td>
	        </tr>
        {/volist}
       
        </tbody>
      </table>
    </div>
</body>
{include file="public/foot"}